package com.example.springboot.dao;

import com.example.springboot.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
@Mapper
public interface StudentMapper {
    public void Save(Student student);
    public void DeleteById(Integer id);
    public void UpdateById(Student student);
    public Student getStudentById(Integer id);
    public ArrayList<Student> getAll();
    public ArrayList<Student> getByName(String name);

}
